package com.goldgov.basedata.dao;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import com.goldgov.basedata.service.BaseDataOrg;

@Mapper
public interface IBaseDataOrgDao {
	/**
	 * 字典下发增加关联
	 * @param baseDataOrg
	 */
	void addBaseDataOrg(BaseDataOrg baseDataOrg);

	/**
	 * 删除字典关联
	 * @param dataIDs
	 * @param orazinationId
	 * @return
	 */
	int deleteBaseDataOrg(@Param("dataIDs")String[] dataIDs,@Param("organizationId")String organizationId);
	/**
	 * 查询字典被关联个数
	 * @param dataID
	 * @param orazinationId
	 * @return
	 */
	Integer findBaseDataOrgCount(@Param("dataID")String dataID,@Param("organizationId")String organizationId);
}
